package org.nmgyjt.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.nmgyjt.springboot.beans.admin.StatisticBean;
import org.nmgyjt.springboot.beans.vo.PageVo;
import org.nmgyjt.springboot.entity.ApiRes;
import org.nmgyjt.springboot.entity.materials.Materials;
import org.nmgyjt.springboot.entity.rescueTeam.RescueTeam;
import org.nmgyjt.springboot.entity.storeInfo.StoreInfo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public interface StoreService extends IService<StoreInfo> {
    StoreInfo getById(Long id,String firstType);

    StoreInfo getBydepId(String depId);

    PageVo<Materials> getStoreInfo(String id, String type, Page<Materials> page,String storeName);

    ApiRes insertOrUpdate(StoreInfo storeInfo);

    ApiRes deleteByDepId(String depId);

    Map<String,Object> getstoreStatistics(StatisticBean statisticBean);

    void snycZwwxByHeadPhone();

}
